﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Indicators_Query.aspx.cs"
    Inherits="Indicators_Indicators_Query" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>目标</title>
    <link rel="stylesheet" href="../css/css.css" type="text/css" />
    <link rel="stylesheet" href="../css/DropDownList.css" type="text/css" />
    <link href="../css/tab.css" type="text/css" rel="stylesheet" />

    <script src="../Js/Common.js" type="text/javascript"></script>

    <script src="../JS/DropDownList.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript">
        function document.onkeydown() {
            var e = event.srcElement;
            if (event.keyCode == 13) {
                return false;
            }
        }

        function EditClick(type) {
            var sFeatures = "dialogHeight:400px;dialogWidth:600px;resizeable:no;help:no;status:no";
            switch (type) {
                case 1: //增加
                    showModalDialog("ChangeRateInfo_Edit.aspx?EditStatus=1", window, sFeatures);
                    var btnRefresh = document.getElementById("BtnRefresh");
                    if (btnRefresh != null)
                        btnRefresh.click();
                    break;
                case 2: //修改
                    var HiddenID = document.getElementById('HiddenID').value;
                    if (isNull(HiddenID)) {
                        alert("请选择一条记录!");
                        return false;
                    }
                    var ary = HiddenID.split(',');
                    if (ary.length > 2) {
                        alert("只能选择一条记录进行修改！");
                        return false;
                    }
                    showModalDialog("ChangeRateInfo_Edit.aspx?EditStatus=2&ID=" + ary[0], window, sFeatures);
                    var btnRefresh = document.getElementById("BtnRefresh");
                    if (btnRefresh != null)
                        btnRefresh.click();
                    break;
            }
        }
        function GetId(obj) {
            if (obj.checked) {
                $("HiddenID").value += obj.value + ",";
            } else {
                $("HiddenID").value.replace(obj.value + ",", "");
            }
        }
    </script>

</head>
<body style="background-image: url('../images/hit_bg.gif');">
    <form id="form1" runat="server">
    <div>
        <table style="width: 98%;" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr style="height: 5;">
                <td>
                    <div align="left" class="greynavbar" style="background-image: url('../images/hit_bg.gif');">
                        <ul id="foldertab">
                            <%if (String.IsNullOrEmpty(sAreaId))
                              { %>
                            <li><a href="Indicators_QueryProvince.aspx">省公司考核指标</a></li>
                            <%} %>
                            <li><a class="current" href="Indicators_Query.aspx">地市考核指标</a></li>
                            <%if (String.IsNullOrEmpty(sAreaId))
                              { %>
                            <li><a href="../PowerWarning/ChangeRateInfoB_Manage.aspx">地市考核目标值</a></li>
                            <%} %>
                        </ul>
                    </div>
                </td>
            </tr>
        </table>
        <table style="width: 98%;" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td valign="middle" style="height: 25; width: 100%;">
                    <img id="imgIndicator" src="../images/Indicator.gif" style="width: 21; height: 16;"
                        alt="当前位置" />当前位置：<asp:Label ID="Indicator" runat="server"></asp:Label>
                </td>
            </tr>
            <tr style="height: 1; background-color: #dddddd;">
                <td>
                </td>
            </tr>
        </table>
        <table style="width: 98%;" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr style="height: 5;">
                <td>
                </td>
            </tr>
        </table>
        <table width="98%" border="0" cellpadding="0" cellspacing="0" class="table" align="center">
            <tr>
                <td colspan="6" align="center" valign="top">
                    <table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
                        <tr>
                            <td colspan="6" align="center" valign="top">
                                <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
                                    <tr>
                                        <td>
                                            区域：
                                        </td>
                                        <td>
                                            <div id="sltArea" runat="server" style="float: left;" onmouseover="ShowMList('divAreaList','divAreaListClose');"
                                                onmouseout="HideMList('divAreaList','divAreaListClose');">
                                                <table>
                                                    <tr>
                                                        <td align="right" class="DropDownLook">
                                                            <input id="txtArea" type="text" readonly="readonly" onclick="ShowMList('divAreaList','divAreaListClose')"
                                                                style="width: 120px;" runat="server" />
                                                        </td>
                                                        <td align="left" class="DropDownLook">
                                                            <img alt="" id="img1" runat="server" src="../Images/drop.gif" onclick="ShowMList('divAreaList','divAreaListClose')"
                                                                align="left" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2" class="DropDownLook">
                                                            <div>
                                                                <div runat="server" id="divAreaListClose" class="DivCloseSmall">
                                                                    <label runat="server" class="LabelClose" id="labAreaClose">
                                                                        <asp:CheckBox ID="chkArea" runat="server" />全选&nbsp;&nbsp;
                                                                    </label>
                                                                </div>
                                                                <div runat="server" id="divAreaList" class="DivCheckBoxListSmall">
                                                                    <asp:CheckBoxList ID="lstArea" runat="server" Width="250px" CssClass="CheckBoxListSmall">
                                                                    </asp:CheckBoxList>
                                                                </div>
                                                            </div>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </td>
                                        <td>
                                            &nbsp;年月：<select id="sltStartYear" runat="server" style="width: 60px;">
                                                <option value="2008">2008</option>
                                                <option value="2009">2009</option>
                                                <option value="2010" selected="selected">2010</option>
                                                <option value="2011">2011</option>
                                                <option value="2012">2012</option>
                                                <option value="2013">2013</option>
                                                <option value="2014">2014</option>
                                                <option value="2015">2015</option>
                                            </select>&nbsp;<select id="sltStartMonth" runat="server" style="width: 40px;">
                                                <option value="01">01</option>
                                                <option value="02">02</option>
                                                <option value="03">03</option>
                                                <option value="04">04</option>
                                                <option value="05">05</option>
                                                <option value="06">06</option>
                                                <option value="07">07</option>
                                                <option value="08">08</option>
                                                <option value="09">09</option>
                                                <option value="10">10</option>
                                                <option value="11">11</option>
                                                <option value="12">12</option>
                                            </select>&nbsp;至&nbsp;<select id="sltEndYear" runat="server" style="width: 60px;">
                                                <option value="2008">2008</option>
                                                <option value="2009">2009</option>
                                                <option value="2010" selected="selected">2010</option>
                                                <option value="2011">2011</option>
                                                <option value="2012">2012</option>
                                                <option value="2013">2013</option>
                                                <option value="2014">2014</option>
                                                <option value="2015">2015</option>
                                            </select>&nbsp;<select id="sltEndMonth" runat="server" style="width: 40px;">
                                                <option value="01">01</option>
                                                <option value="02">02</option>
                                                <option value="03">03</option>
                                                <option value="04">04</option>
                                                <option value="05">05</option>
                                                <option value="06">06</option>
                                                <option value="07">07</option>
                                                <option value="08">08</option>
                                                <option value="09">09</option>
                                                <option value="10">10</option>
                                                <option value="11">11</option>
                                                <option value="12">12</option>
                                            </select>
                                            类型：数值<input id="rdsz" name="rd1" type="radio" checked="true" runat="server" />得分<input
                                                id="rddf" name="rd1" type="radio" runat="server" />
                                            <asp:Button ID="btnSearch" runat="server" CssClass="button03" Text="查询" OnClick="btnRefresh_Click" />
                                            <asp:Button ID="btnExport" runat="server" CssClass="button03" Text="导出" OnClick="btnExport_Click" />
                                        </td>
                                        <td>
                                            指标项：
                                        </td>
                                        <td>
                                            <div id="divIndi" runat="server" style="float: left;" onmouseover="ShowMList('divCheckBoxList','divCheckBoxListClose');"
                                                onmouseout="HideMList('divCheckBoxList','divCheckBoxListClose');">
                                                <table>
                                                    <tr>
                                                        <td align="right" class="DropDownLook">
                                                            <input id="txtIndi" type="text" readonly="readonly" onclick="ShowMList('divCheckBoxList','divCheckBoxListClose')"
                                                                style="width: 229px;" runat="server" />
                                                        </td>
                                                        <td align="left" class="DropDownLook">
                                                            <img alt="" id="imgShowHide" runat="server" src="../Images/drop.gif" onclick="ShowMList('divCheckBoxList','divCheckBoxListClose')"
                                                                align="left" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2" class="DropDownLook">
                                                            <div>
                                                                <div runat="server" id="divCheckBoxListClose" class="DivClose">
                                                                    <label runat="server" class="LabelClose" id="lblClose">
                                                                        <asp:CheckBox ID="chkIndi" runat="server" />全选&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                                                    </label>
                                                                </div>
                                                                <div runat="server" id="divCheckBoxList" class="DivCheckBoxList">
                                                                    <asp:CheckBoxList ID="lstIndi" runat="server" Width="250px" CssClass="CheckBoxList">
                                                                    </asp:CheckBoxList>
                                                                </div>
                                                            </div>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </td>
                                </table>
                            </td>
                        </tr>
                    </table>
                    <!--列表开始-->
                    <asp:GridView ID="GridView1" runat="server" CellPadding="4" OnRowDataBound="GridView1_RowDataBound"
                        BackColor="SteelBlue" BorderColor="DarkSlateGray" BorderStyle="Solid" BorderWidth="0px"
                        CellSpacing="1" Width="100%" AutoGenerateColumns="true" Font-Overline="False"
                        Font-Strikeout="False" Font-Underline="False" OnSorting="GridView1_Sorting" AllowSorting="True">
                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="#F9F9FB" />
                        <RowStyle BackColor="#F9F9FB" ForeColor="#333333" Height="24px" BorderStyle="Dotted" />
                        <AlternatingRowStyle BackColor="#EFEFF8" />
                        <HeaderStyle BackColor="#E3E7F0" Height="25px" />
                    </asp:GridView>
                    <!--列表结束-->
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
